﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using ComLib.Web.Modules.MenuEntrys;
using ComLib.Web.Lib.Controllers;


namespace ComLib.CMS.Controllers
{
    /// <summary>
    /// Controller for Dynamic Html content pages.
    /// </summary>
    [HandleError]
    public class MenuController : EntityControllerAdmin<MenuEntry>
    {
        /// <summary>
        /// OVerride the url to use after creation.
        /// </summary>
        protected override void Init()
        {
            Conf["CreateSuccessUrl"] = "manage";
            Conf["UpdateSuccessUrl"] = "manage";
        }
    }
}
